<template>
	<view>
		<cu-custom bgColor="bg-gradual-blue" :isBack="false">
			<block slot="content">我的</block>
		</cu-custom>
		<view class="cu-list menu" :class="[menuBorder?'sm-border':'',menuCard?'card-menu margin-top':'']">
			<view class="cu-item" :class="menuArrow?'arrow':''">
				<view class="content">
					<text class="cuIcon-emojiflashfill text-pink"></text>
					<text class="text-grey">昵称</text>
				</view>
				<view class="action">
					<text class="text-grey text-sm">namesu</text>
				</view>
			</view>
			<view class="cu-item" :class="menuArrow?'arrow':''" @tap="bangding">
				<view class="content">
					<text class="lg text-gray cuIcon-selection"></text>
					<text class="text-grey">绑定</text>
				</view>
				<view class="action">
					<text class="text-red text-sm">绑定自己的微信后可以在群聊里及时知道自己的物流信息</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import {
		mapGetters,
		mapActions
	} from "vuex";
	export default {
		name: 'personage',
		data() {
			return {
				menuArrow: false
			}
		},
		computed: {
			...mapGetters(['isLogin'])
		},
		onLoad() {},
		methods: {
			...mapActions(['loginAction', 'userInfoAction', 'isLoginAction']),
			bangding(){
				uni.navigateTo({
					url:'/pages/personage/bangding'
				})
			}
		}
	}
</script>

<style>

</style>